package com.yeyks.commonReference.service.other;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yeyks.common.base.PageResult;
import com.yeyks.common.dto.InvoiceInfoDTO;
import com.yeyks.common.param.finance.FinanceInvoiceQueryParam;
import com.yeyks.commonReference.pojo.param.other.InvoiceInfo.CreateInvoiceParam;
import com.yeyks.commonReference.pojo.param.other.InvoiceInfo.PreInvoicingOrderListParam;
import com.yeyks.commonReference.pojo.param.other.InvoiceInfo.PreInvoicingRechargeListParam;
import com.yeyks.commonReference.pojo.vo.other.InvoiceInfo.PreInvoicingOrderListVo;
import com.yeyks.commonReference.pojo.vo.other.InvoiceInfo.PreInvoicingRechargeListVo;
import com.yeyks.other.dal.domain.InvoiceInfo;

import java.util.Map;


/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yun
 * @since 2020-02-05
 */
public interface InvoiceInfoService extends IService<InvoiceInfo> {

    //获取未开发票的订单
    PreInvoicingOrderListVo getPreInvoicingOrderList(PreInvoicingOrderListParam param);

    //获取未开发票的充值订单
    PreInvoicingRechargeListVo getPreInvoicingRechangeList(PreInvoicingRechargeListParam param);

    //下发票订单
    Boolean getCreateInvoice(CreateInvoiceParam param);

    /**
     * 分页查询订单开票列表
     *
     * @param param 输入参数
     * @return 返回结果
     */
    Map<String, Object> orderInvoiceQueryByParam(FinanceInvoiceQueryParam param);

    /**
     * 分页查询优享VIP开票
     * @param param 输入参数
     * @return 返回结果
     */
    Map<String, Object> rechargeInvoiceList(FinanceInvoiceQueryParam param);
}
